package cn.gzyinyuan.yy.modules.sys.mapper;

import cn.gzyinyuan.yy.common.utils.Query;
import cn.gzyinyuan.yy.modules.sys.entity.SysDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author HJ
* @description 针对表【sys_dept(部门状态（0：禁用；1：启用）)】的数据库操作Mapper
* @createDate 2021-12-15 11:45:44
* @Entity cn/gzyinyuan/yy/modules/sys.entity.SysDept
*/
@Mapper
public interface SysDeptMapper {

    List<SysDept> queryList(Query query);

    int queryTotal(Query query);

    void save(SysDept dept);

    void deleteBatch(Long[] ids);

    SysDept queryObject(Long id);

    void update(SysDept dept);

}




